package com.mav.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
@Order(2)
@Slf4j
//@Aspect
@Component
public class MyAspect1 {
    @Pointcut("execution(* com.mav.service.iml.*.*(..))")
    private void pt(){}
    @Before("pt()")
    public void before(){
        log.info("1 -> before...");
    }
}
